{#<!DOCTYPE html>#}
{#<html lang="en">#}
{#<head>#}
{#    <meta charset="UTF-8">#}
{#    <title>首页</title>#}
{#</head>#}
{#<body>#}
{#<h1>首页</h1>#}
{#</body>#}
{#</html>#}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
{# Mysite/template/user19/index.html#}
    {% extends 'base.html' %}
    {% block title %}主页{% endblock %}
    {% block content %}
        {% if request.session.is_login %}
        <h1>你好,{{ request.session.user_name }}！欢迎回来！</h1>
        {% else %}
        <h1>小哥哥们，小姐姐们，访问超级超级好的网页，需要登录呀！！！</h1>
        {% endif %}
    {% endblock %}
</body>
</html>